//
//  RZEmojiTabView.h
//  RZIM
//
//  Created by reyzhang on 2021/8/18.
//  面板底部的bar条，展示表情组 (主控件UICollectionView)

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol RZEmojiTabViewDelegate;

@interface RZEmojiTabView : UIView
@property (nonatomic, weak) id<RZEmojiTabViewDelegate> delegate;

- (void)showAddButton:(BOOL)showAddButton showSettingButton:(BOOL)showSettingButton;

- (void)reloadTabView:(NSArray *)emotionsListData;

- (void)showEmotion:(int)index;
@end


@protocol RZEmojiTabViewDelegate <NSObject>

- (void)emojiTabView:(RZEmojiTabView *)emojiTabView didClickSendButton:(UIButton *)button;

- (void)emojiTabView:(RZEmojiTabView *)emojiTabView didSelectEmotion:(int)index;


@optional
- (void)emojiTabView:(RZEmojiTabView *)emojiTabView didClickSettingButton:(UIButton *)button;

- (void)emojiTabView:(RZEmojiTabView *)emojiTabView didClickAddButton:(UIButton *)button;

@end


NS_ASSUME_NONNULL_END
